Description: 编译原理上机实验,c语言的词法分析器。将单词分为保留字,标识符,数字。可实现c语言的几乎全部词法分析。-Principle of the Experimental Machine compiler, c language lexical analyzer. The word is divided into reserved words, identifiers, numbers. Can be realized almost all of c language lexical analysis. Platform: |
Size: 3072 |
Author:齐旭蕾 |
Hits:
Description: 是一个很简单的编译原理的词法分析程序,就是对一个简单的C语言程序进行模拟编译。-Is to compile a very simple principle of lexical analysis procedure is a simple procedure to simulate the C language compiler. Platform: |
Size: 2048 |
Author:赵全 |
Hits:
Description: 词法分析,做的很详细,说明了各方面的情况,词法分析器实验报告-Lexical analysis, done in great detail to illustrate the various aspects of the experimental report of lexical analyzer Platform: |
Size: 35840 |
Author:刘慧刚 |
Hits:
Description: 编译原理LL(1)词法分析实验,分析一段代码的词法结构-Compilation Principle LL (1) lexical analysis of the experiment, analysis of the lexical structure of a section of code Platform: |
Size: 7168 |
Author:凤清 |
Hits:
Description: 此课设是if else 条件语句的翻译程序.
功能说明如下:
1.整体词法分析;
2.if else语法分析,递归下降法.
3.三地址形式代码格式输出;
4.变量符号表的实现,即先定义变量才可以使用;
5.出错提示,具体行数出错提示;
6.作用域初步设计.-This lesson is that if else conditional statements of the translation process. Functions as follows: 1. The overall lexical analysis 2.if else parsing, recursive descent method. 3. Third, address the form of output code format 4. The realization of the variable symbol table , that is, the definition of variables can be used 5. error prompts, error prompts specific number of rows 6. the scope of the preliminary design. Platform: |
Size: 37888 |
Author:卡哇伊 |
Hits:
Description: 否符合while语句的文法,或者能不能通过文法的开始符号推导出该语句。
(2) 该程序应该包括词法分析器,能对输入的语句进行词法分析,然后再对输出结果。词法分析器应能识别关键字,标示符,常量,操作符等。
(3) 该程序的语法分析器能对输入的语法进行分析,判断输入语句能否满足while循环语句的文法。通过简单优先的方法对语句进行分析,看能否能归约到文法的开始符号。
(4) 该程序的语义分析器就是对分析结果进行输出,要求输出结果是三地址形式的。-Compliance with the statement while the grammar, or to the beginning of grammar symbols can not be derived from the statement. (2) The program should include the lexical analyzer, the statement can be carried out input lexical analysis, and then output the results. Lexical analyzer should be able to identify the keywords, identifiers, constants, operators and so on. (3) parser of the program can analyze the syntax of input to determine whether the input statement to meet the loop while the grammar. Priorities through a simple statement of the method of analysis to see whether it can reduce to the beginning of grammar symbols. (4) the program analyzer is the semantic analysis of the results of the output requirements of the output is three-address form. Platform: |
Size: 60416 |
Author:李伟霞 |
Hits:
Description: 实现了CMinus的一个编译器。实现了词法分析和语义分析。-CMinus achieved a compiler. The realization of the lexical analysis and semantic analysis. Platform: |
Size: 351232 |
Author:王正邦 |
Hits:
Description: How to create a compiler, main parts of a compiler.Lexical analysis, Syntax analysis, Semantic analysis, Intermediate code generation, Optimization Code generation Platform: |
Size: 485376 |
Author:4EsT |
Hits:
Description: C语言词法分析,开发工具为:C++ builder 2007.可以自主更改源代码中的关键字等,使功能更强大-C language lexical analysis, development tools: C++ builder 2007. Will be free to change the source code of the keywords, so that more powerful Platform: |
Size: 389120 |
Author:杰 |
Hits:
Description: 掌握计算机语言的词法分析程序的开发方法。编制一个能够分析三种整数、标识符、主要运算符和主要关键字的词法分析程序。-Master computer language for lexical analysis program development methodology. Able to analyze three kinds of preparation of an integer, identifier, the main operator and the main keyword lexical analysis program. Platform: |
Size: 72704 |
Author:chenxi |
Hits:
Description: 词法分析:将该语言的源程序,也就是相应的字符流转换成内码,并根据需要是否对于标识号填写相应的符号表供编译程序的以后各阶段使用- Lexical Analysis:The language of the source, that is, the character stream into corresponding internal codes, and if necessary, fill in the corresponding identification number for the symbol table for the compiler to use the subsequent stages Platform: |
Size: 2048 |
Author:yinshengquan |
Hits:
Description: C语言词法分析器,用于实现C语言的词法分析,编写语言为C。-C language lexical analyzer, used to implement the C language, lexical analysis, the preparation of language is C. Platform: |
Size: 2048 |
Author:ML |
Hits:
Description: 编译原理的词法分析,可以识别各类词,浮点数字,二进制,八进制,十进制,十六进制-Compiler theory of lexical analysis, can identify all kinds of words, floating point numbers, binary, octal, decimal, hexadecimal Platform: |
Size: 19456 |
Author:carponlee |
Hits:
Description: 编译原理实验,编译TINY及其词法分析、语法分析、语义分析、代码生成,其中包含实验报告分析、代码和结果。-Compiler theory test, compile TINY and lexical analysis, syntax analysis, semantic analysis, code generation, which includes analysis of test reports, code and results. Platform: |
Size: 316416 |
Author:Panda |
Hits: